fs.on   A
last analyzed

Complexity

Conditions 1
Paths 2

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 2
nop 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
var fs = window.fs||{};
2
3
(function(){
4
    fs.trigger=function(event, ele){
5
        $(ele||window).trigger(event);
6
    };
7
8
    fs.on=function(event, callback, ele){
9
        $(ele||window).on(event, callback);
10
    };
11
})();